from django.conf.urls import handler404
from django.urls.conf import re_path
from home.views import HomeIndexView,DetailView

urlpatterns = [
    re_path('detail/',DetailView.as_view(),name='detail'), # 详情页面
    re_path('home/',HomeIndexView.as_view(),name='index'), # 首页显示
]